<?php
namespace app\test;

require '../vendor/autoload.php';

// use johnxu\tool\Hash;

// echo Hash::make('admin');

/*try
{
echo strtolower( johnxu\tool\Str::instance()->getMachineCode( 1, 16 ) );
}
catch ( Exception $e )
{
}*/

/*$str = 'aaaa';

json_decode($str, true);

var_dump(json_last_error());
echo json_last_error_msg();*/

echo '<pre>';
print_r($_SERVER);
